<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="0">
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragrma","no-cache");
response.setDateHeader("Expires",0);
%>
<title>日志管理</title>
<style type="text/css">

</style>
<script type="text/javascript" src="./js/head.js"></script>
</head>
<body>
	<div id="log" style="width: 100%;height: 100%;" oncontextmenu="return false">

		<div class="header">
			<h3>日志管理</h3>
			<img src='img/logo.png'>
		</div>

		<div class="mt20 ml10 mr10 border" style="padding: 10px;">
			<div class="hand w200 lan">
				<i class="el-icon-caret-bottom"></i>日志
			</div>
			<!-- 列表展示 -->
			<div class="mt10">
				<el-table :data="tableData" stripe style="width: 100%;" ><!-- -->
				    <el-table-column prop="runnerId" label="日志名称" head-align="center" align="center" sortable show-overflow-tooltip>
				    	<!-- <template slot-scope="scope" >
					        <el-badge value="new" class="new" v-if="scope.row.flag">
					        	<span><a href="#" @click="open(scope.row.tid)">{{ scope.row.tname }}</a></span>
					        </el-badge>
					        <el-badge value="" v-else>
					        	<span><a href="#" @click="open(scope.row.tid)">{{ scope.row.tname }}</a></span>
					        </el-badge>
					    </template> -->
				    </el-table-column>
				    <el-table-column prop="logMsg" label="日志信息" head-align="center" align="center" sortable show-overflow-tooltip></el-table-column>
				    <el-table-column prop="logLevel" label="日志级别" head-align="center" align="center" sortable show-overflow-tooltip></el-table-column>
				    <el-table-column prop="runTime" label="操作时间" head-align="center" :formatter="dateFormat" align="center" sortable show-overflow-tooltip></el-table-column>
				</el-table>
				
				<div class="flex wEnd mt10">
					<el-pagination @size-change="handleSizeChange"  @current-change="handleCurrentChange" :current-page="currPage"
				      :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" :total="total"
				      layout="total, sizes, prev, pager, next, jumper">
	   				</el-pagination>
				</div>
			</div>
			
		</div>
	</div>
</body>
<script type="text/javascript" src="./js/log.js"></script>
</html>